<?php
$page = $_GET['p'];
require_once('inc/core.php');

if($page == ""){
	require_once('inc/main.php');
}elseif($page == "home"){
	require_once('inc/main.php');
}elseif($page == "register"){
	require_once('inc/register.php');
}elseif($page == "forum"){
	echo('Du bist schwul!');
}elseif($page == "media"){
	require_once('inc/media.php');
}elseif($page == "contact"){
	require_once('inc/contact.php');
}elseif($page == "vote"){
	require_once('inc/vote.php');
}
?>